class CreateDegrees < ActiveRecord::Migration
  def self.up
    create_table :degrees do |t|
      t.column :name, :string
    end
    Degree.create(:name => "Associate's Degree")
    Degree.create(:name => "Bachelor's Degree")
    Degree.create(:name => "Master's Degree")
    Degree.create(:name => "Ph.d")
    Degree.create(:name => "Postdoctoral")
    Degree.create(:name => "Other")
  end

  def self.down
    drop_table :degrees
  end
end
